﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="AutoFix.login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="AdditionalPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MessagePlaceHolder" runat="server">Login using your email address and password supplied at registration.
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div id="pageActionMessage" runat="server"></div>
    <div id="login-section">
        <div class="column-section">
            <div class="field-name">Email address: <span class="asterisk">*</span></div>
            <div class="input-field-holder">
                <asp:TextBox ID="txtEmailAddress" runat="server" CssClass="text-box-small"/>
                <br /><asp:RequiredFieldValidator ID="rqdEmailAddress" runat="server" ErrorMessage="Email Address is required" ControlToValidate="txtEmailAddress" CssClass="asterisk" /><br /><asp:RegularExpressionValidator ID="rgxEmail" runat="server" ErrorMessage="Email format xx@xx.xx"  ControlToValidate="txtEmailAddress" Display="Dynamic" CssClass="asterisk" ValidationExpression="^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$"/>
            </div>
            <div class="clear"></div>

        </div>
        <div class="column-section">
            <div class="field-name">Password: <span class="asterisk">*</span></div>
            <div class="input-field-holder">
                <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" CssClass="text-box-small" /><br /><asp:RequiredFieldValidator ID="rqdPassword" runat="server" ErrorMessage="Password is required" ControlToValidate="txtPassword" CssClass="asterisk" />
            </div>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <div class="button-holder">
            <asp:Button ID="btnLogin" runat="server" Text="Login" CssClass="button" OnClick="btnLogin_Click" />
            <div class="clear"></div>
        </div>
    </div>
</asp:Content>
